﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BHYT.Server.Bll
{
    public class DmDonViBll
    {
        BHYTEntities entities;

        public DmDonViBll()
        {
            entities = new BHYTEntities();
        }

        public Dm_DonVi RetrieveDmDonViById(string maDonVi)
        { 
            return entities.Dm_DonVi.FirstOrDefault<Dm_DonVi>(u=>u.MaDonVi == maDonVi);
        }
    }
}
